package homework08;

import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;

public class homework002b {
	private static void readerWriterCopyFile(File srcFile,File desFile) throws Exception{
		FileReader fr=new FileReader(srcFile);
		FileWriter fw=new FileWriter(desFile);
		int ch=0;
		while((ch=fr.read())!=-1){
			fw.write(ch);
		}
		fr.close();
		fw.close();
	}
}
